package com.etc.entity;

public class Restaurant {
	private Integer rid;

	private String rname;

	private String raddress;

	private String rcontent;

	private String rimg;

	private String rtel;

	private String rprovince;

	private String rcity;

	private Integer uid;

	public Integer getRid() {
		return rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public String getRname() {
		return rname;
	}

	public void setRname(String rname) {
		this.rname = rname == null ? null : rname.trim();
	}

	public String getRaddress() {
		return raddress;
	}

	public void setRaddress(String raddress) {
		this.raddress = raddress == null ? null : raddress.trim();
	}

	public String getRcontent() {
		return rcontent;
	}

	public void setRcontent(String rcontent) {
		this.rcontent = rcontent == null ? null : rcontent.trim();
	}

	public String getRimg() {
		return rimg;
	}

	public void setRimg(String rimg) {
		this.rimg = rimg == null ? null : rimg.trim();
	}

	public String getRtel() {
		return rtel;
	}

	public void setRtel(String rtel) {
		this.rtel = rtel == null ? null : rtel.trim();
	}

	public String getRprovince() {
		return rprovince;
	}

	public void setRprovince(String rprovince) {
		this.rprovince = rprovince == null ? null : rprovince.trim();
	}

	public String getRcity() {
		return rcity;
	}

	public void setRcity(String rcity) {
		this.rcity = rcity == null ? null : rcity.trim();
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Restaurant(Integer rid, String rname, String raddress, String rcontent, String rimg, String rtel,
			String rprovince, String rcity, Integer uid) {
		super();
		this.rid = rid;
		this.rname = rname;
		this.raddress = raddress;
		this.rcontent = rcontent;
		this.rimg = rimg;
		this.rtel = rtel;
		this.rprovince = rprovince;
		this.rcity = rcity;
		this.uid = uid;
	}

	public Restaurant() {
	}

	@Override
	public String toString() {
		return "Restaurant [rid=" + rid + ", rname=" + rname + ", raddress=" + raddress + ", rcontent=" + rcontent
				+ ", rimg=" + rimg + ", rtel=" + rtel + ", rprovince=" + rprovince + ", rcity=" + rcity + ", uid=" + uid
				+ "]";
	}
	
}